[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
/ help Command/ high Command/ highlight Command/ label Command/ labellanguage Command/ labeltext Command/ labeltexts Command/ language Command/ leftlabeltext Command/ linenote Command/ low Command/ lowhigh Command/ lowmidhigh Command/ margindata Command/ mathcommand Command/ mathdoubleextensible Com

Re: [NTG-context] Two issues with respect to sections in ConTeXt

2020-06-06 Thread Wolfgang Schuster
the text to the right side of the number because by default most labels appear only on the left side. Below are a few examples of the current state of labeltexts. 1. Position When you set a label the text for a label you have to specify on which side of the content it should appear. In the following

Re: [NTG-context] Modern CV like cover letter example

2017-04-20 Thread Jonas Baggett
: Hello Henri, I tried to use labeltexts without success so far. Here is the simple example I tried to do : \setuplabeltext [East=east, West=west] \setuplabeltext [en] [Name=name] \setuplabeltext [fr] [Name=nom] \starttext \labeltext{East} % Works \labeltext{West

Re: [NTG-context] Modern CV like cover letter example

2017-04-19 Thread Pablo Rodriguez
On 04/20/2017 07:08 AM, Jonas Baggett wrote: > Hello Henri, > > I tried to use labeltexts without success so far. Here is the simple > example I tried to do : > >\setuplabeltext [East=east, West=west] >\setuplabeltext [en] [Name=name] >\setup

Re: [NTG-context] Modern CV like cover letter example

2017-04-19 Thread Jonas Baggett
Hello Henri, I tried to use labeltexts without success so far. Here is the simple example I tried to do : \setuplabeltext [East=east, West=west] \setuplabeltext [en] [Name=name] \setuplabeltext [fr] [Name=nom] \starttext \labeltext{East} % Works \labeltext{West} % Works

Re: [NTG-context] Modern CV like cover letter example

2017-04-18 Thread Jonas Baggett
Thanks for the suggestion, I will apply that soon. Le 18.04.17 à 10:09, Henri Menke a écrit : Better use the language aware labeltexts \setuplabeltext [language] [labellabel=text,labellabel=text,...] rather than setting some macros based on self-defined modes. On 04/18/2017 12:34 AM, Jonas

Re: [NTG-context] Modern CV like cover letter example

2017-04-18 Thread Henri Menke
Better use the language aware labeltexts \setuplabeltext [language] [labellabel=text,labellabel=text,...] rather than setting some macros based on self-defined modes. On 04/18/2017 12:34 AM, Jonas Baggett wrote: > Hello everyone, > > As suggested by Wolfgang Schuster here :

Re: [NTG-context] How to test the emptyness of a variable?

2013-11-09 Thread Aditya Mahajan
if the variable \currentstructurelabel is empty, so the code must be: Why not just check the labeltext? \define[1]\MyConversion {\doifelse{#1}{1}{ONE}{#1}} \define\CheckedConversion % #1 number {\doiftextelse{\labeltexts{chapter}}\MyConversion\numbers} \defineconversion

Re: [NTG-context] epub

2012-02-16 Thread Wolfgang Schuster
renders on my ereader without problems. I do agree if the export tags were configurable. Something similar to multi-lingual interface, but for output rather than input. You mean like labeltexts :) Wolfgang ___ If your

Re: [NTG-context] writing date with ordinal numbers (\enordinaldaynumber) in mkiv

2011-10-01 Thread Hans Hagen
the labeltexts stay the same - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com

Re: [NTG-context] writing date with ordinal numbers (\enordinaldaynumber) in mkiv

2011-10-01 Thread Wolfgang Schuster
! were used instead of labels but it might make more sense now to lowercase the v! This explains why you use variables as keys in \setuplabeltext etc. okay? +1 of course the labeltexts stay the same There is also a bug for the labels in the form “month:mnem” in lang-lab.lua function

Re: [NTG-context] checking mainlanguage setup

2011-06-01 Thread Wolfgang Schuster
Am 01.06.2011 um 09:45 schrieb Jeong Dalyoung: I summerize it as a test file. The first 5 methods are working well, but the last one using \noexpand cause the error. What exactly do you plan to do with the language check, for simple texts your method is overkill and labeltexts are better

Re: [NTG-context] ntg-context Digest, Vol 84, Issue 5

2011-06-01 Thread Jeong Dalyoung
Dear Hans and Wolfgang, Thank you for the comments and samples. What exactly do you plan to do with the language check, for simple texts your method is overkill and labeltexts are better suited, even a command which prints a text can be written in TeX without problems: Yes, you are right

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-22 Thread Wolfgang Schuster
Am 22.04.2011 um 16:36 schrieb Reviczky, Adam: I've added this to the wiki, because I had a look at it earlier on but didn't find anything regarding the labels in setuphead. With the next beta you can the correct labeltexts in the TOC without the need of an extra command like \appendix

[NTG-context] Multilingual interface

2010-12-26 Thread Willi Egger
Hi, If an unexperienced programmer wants to make use of the multilingual interface... I miss some clues how to implement changes on labeltexts depending on the language. \unprotect \defineinterfaceconstant{weekagenda}{weekagenda} \startinterface de \setinterfaceconstant {weekagenda

Re: [NTG-context] Multilingual interface

2010-12-26 Thread Wolfgang Schuster
Am 26.12.2010 um 16:47 schrieb Willi Egger: Hi, If an unexperienced programmer wants to make use of the multilingual interface... I miss some clues how to implement changes on labeltexts depending on the language. I’m not sure what do you want but the \setuplabeltext command has

[NTG-context] Lists and labeltexts

2010-10-03 Thread Wolfgang Schuster
Hi Hans, lists ignore the sectionblock for the labeltext \setuplabeltext[chapter=Chapter~,appendix=Appendix~] \setuplist[chapter][label=yes,width=2cm] \setuphead[chapter][bodypartlabel=appendix] \starttext \completecontent \chapter{Foo} \stoptext Wolfgang

[NTG-context] [PATCH] small corrections for the ConTeXt-correspondence manual

2010-08-15 Thread Paul Menzel
extensions: +The module itself comes with the following extensions: \starttabulate[|Bl|p|] -\NC label\NC Labeltexts for different languages \NC\NR +\NC label\NC Label texts for different languages \NC\NR \NC pragma \NC Example content for Hans own letter module

Re: [NTG-context] Removing Introduction section number

2010-06-14 Thread Hans Hagen
\unprotect % already set: \setupstructurehead[chapter][appendixlabel=appendix] % % but was not yet hooked into: \unexpanded\def\fullstructureheadnumber {\edef\currentstructureheadlabeltag{\currentstructureblock\c!label}% \labeltexts{\structureheadparameter\currentstructureheadlabeltag

[NTG-context] latest bugs (was: dodosetreference undefined)

2010-06-06 Thread Alan BRASLAU
\dohandlecurrentformulareferences ...lasattribute \fi \doplacecurrentformulanumber ...formulareferences \labeltexts \currentformul... argument ...spaces \doplacecurrentformulanumber

Re: [NTG-context] Enabling Ukrainian hyphenation

2009-10-25 Thread Wolfgang Schuster
specifying \language[uk]? Use the correct language tag, 'uk' is for british english. For ukrainian use 'ua' or 'ukrainian'. BTW: A global switch (which includes labeltexts etc.) is done with \mainlanguage. Wolfgang

Re: [NTG-context] Enabling Ukrainian hyphenation

2009-10-25 Thread Vyatcheslav Yatskovsky
Yeah, thanks a lot, Wolfgang! What else should I do except specifying \language[uk]? Use the correct language tag, 'uk' is for british english. For ukrainian use 'ua' or 'ukrainian'. BTW: A global switch (which includes labeltexts etc.) is done with \mainlanguage. Best regards

Re: [NTG-context] New structure ...

2009-05-21 Thread Willi Egger
\doreporttextprefixerror \... \labeltexts ...eftlabeltext {#1}#2\rightlabeltext {#1} \doifundefinedelse #1-\ifcsname #1 \endcsname \...@ea \secondoftwoarguments \el... argument ... {\??ef \??ef XY

[NTG-context] New structure ...

2009-05-19 Thread Willi Egger
\doreporttextprefixerror \... \labeltexts ...eftlabeltext {#1}#2\rightlabeltext {#1} \doifundefinedelse #1-\ifcsname #1 \endcsname \...@ea \secondoftwoarguments \el... argument ... {\??ef \??ef XY\currentheadnumber

Re: [NTG-context] New structure ...

2009-05-19 Thread Alan Stone
: ! Undefined control sequence. argument \reporttextprefixerror \secondoftwoarguments #1#2-#2 \rightlabeltext ...ts \let \reporttextprefixerror \doreporttextprefixerror \... \labeltexts ...eftlabeltext {#1}#2\rightlabeltext

Re: [NTG-context] New structure ...

2009-05-19 Thread Willi Egger
#2-#2 \rightlabeltext ...ts \let \reporttextprefixerror \doreporttextprefixerror \... \labeltexts ...eftlabeltext {#1}#2\rightlabeltext {#1} \doifundefinedelse #1-\ifcsname #1

Re: [NTG-context] New structure ...

2009-05-19 Thread Willi Egger
\reporttextprefixerror \doreporttextprefixerror \... \labeltexts ...eftlabeltext {#1}#2\rightlabeltext {#1} \doifundefinedelse #1-\ifcsname #1 \endcsname \...@ea

Re: [NTG-context] New structure ...

2009-05-19 Thread Alan Stone
\reporttextprefixerror \secondoftwoarguments #1#2-#2 \rightlabeltext ...ts \let \reporttextprefixerror \doreporttextprefixerror \... \labeltexts ...eftlabeltext {#1}#2\rightlabeltext {#1} \doifundefinedelse #1

Re: [NTG-context] Some questions about the taspresent module

2008-05-18 Thread Hans Hagen
not, to modify that in my tex file without changing the style file (which I prefer not to do)? use labeltexts (grep a bit for 'chapter', 'figure' and such) since they adapt to the language (lang-*.tex) - With the greenblue style the title page is produced with its layout, but no text appears

Re: [NTG-context] Some questions about the taspresent module

2008-05-18 Thread Thomas A. Schmitz
of 10, 2 of 10, etc. Is there a way, as I have to write in french more often than not, to modify that in my tex file without changing the style file (which I prefer not to do)? OK, Hans suggested to use labeltexts; I'll have to learn how to use it. The basic idea seems to be to have

Re: [NTG-context] Some questions about the taspresent module

2008-05-18 Thread Jean Magnan de Bornier
Le 18 mai à 18:09:29 Thomas A. Schmitz [EMAIL PROTECTED] écrit notamment: | OK, Hans suggested to use labeltexts; I'll have to learn how to use | it. The basic idea seems to be to have something like this in the | module: | \setuplabeltext [\s!fr] [\v!of=de] | and then use \v

[NTG-context] Fwd: how to change 'figure 1.1' to '그림 1.1'

2007-12-04 Thread Wolfgang Schuster
] @}\fi \edef \nocharacteren... to be read again \koencodedintro \dogetupsometextprefix ...csname #2#1#3\endcsname \else \ifcsname #2#3\endcs... \labeltexts #1#2-\leftlabeltext {#1

Re: [NTG-context] how to change 'figure 1.1' to ' 그림 1.1'

2007-12-03 Thread Dalyoung Jeong
\characterencoding [EMAIL PROTECTED] @}\fi \edef \nocharacteren... to be read again \koencodedintro \dogetupsometextprefix ...csname #2#1#3\endcsname \else \ifcsname #2#3\endcs... \labeltexts

Re: [NTG-context] ' undefined inside \startformula .. \stopformula

2006-12-26 Thread Zhichu Chen
\dogetupsometextprefix #1#2#3-\ifcsname #2#1 #3\endcsname \csname #2#1#3\end... \labeltexts #1#2-\leftlabeltext {#1} #2\rightlabeltext {#1} argument ...enumber {\pageprefixes \pagenumber

Re: [NTG-context] spanish user

2006-08-11 Thread Hans Hagen
overload headtexts and labeltexts if needed Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74

Re: [NTG-context] Left justify numbers on left margin edge

2006-07-11 Thread Hans Hagen
be nice if one could have referenceleft and referenceright in most setup commands. we can think of using labels; deep down the core: \setuplabeltext[\s!itemcount1={{I(},{)}}] \def\labeledcountervalue#1{\labeltexts{#1}{\countervalue{#1}}} etc etc; not that hard, but we need some rainy days

Re: [NTG-context] Oh no! Never update in the middle of a project. I am in trouble.

2006-06-27 Thread Hans Hagen
Summary] \definemeasure[BoxWidth][.8\textwidth] \defineblank[BoxBlank][1em plus 1em minus 1em] Wow. Did not know about labeltexts. This goes one more step in separating content from presentation. well, the code in the lang-* files is pretty old (therw you can see how do deal

Re: [NTG-context] Oh no! Never update in the middle of a project. I am in trouble.

2006-06-27 Thread David Arnold
] \setuplabeltext [tip=\checkmark] \setuplabeltext [summary=\bigstar\quad Summary] \definemeasure[BoxWidth][.8\textwidth] \defineblank[BoxBlank][1em plus 1em minus 1em] Wow. Did not know about labeltexts. This goes one more step in separating content from presentation. well, the code

Re: [NTG-context] List of Formulas

2006-05-10 Thread Hans Hagen
!numberstyle\c!numbercolor \strut \@@fmleft \preparethenumber\??fm\composedsectionnumber\preparednumber \doflushformulalistentry{\composedsectionnumber\hetsubnummer}% \labeltexts\v!formula {\ignorespaces\preparednumber \ignorespaces\hetsubnummer\unskip

Re: [NTG-context] figure as figura

2006-02-17 Thread Mari Voipio
Quoting andrea valle [EMAIL PROTECTED]: What have I to do? You'll have to tell ConTeXt to use the Italian glossary instead (and hope it's ok...) so the labeltexts (and hyphenation) gets fixed. This is how I do it for our Spanish manual and how I adjusted the few labeltexts our translator didn't

Re: [NTG-context] figure as figura

2006-02-17 Thread andrea valle
glossary instead (and hope it's ok...) so the labeltexts (and hyphenation) gets fixed. This is how I do it for our Spanish manual and how I adjusted the few labeltexts our translator didn't like; these go into the setup section of the file, before \starttext. % Language specific settings

Re: [NTG-context] Some localizations

2005-12-13 Thread Richard Gabriel
lines as you mention in the parenthesis. Sorry if I did something wrong. It really wasn't my intention to make problems to other users... :-( Next question: Why are you changing the Å into a + ? It's NOT my work. :-( I didn't change any other things than headtexts/labeltexts! -Richard Tobias

Re: [NTG-context] Some localizations

2005-12-13 Thread Hans Hagen
/labeltexts! maybe th eeditor is messing up (can happen with cut and paste), it's an 8 bit char; anyhow, this is what checking is for -) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] i18n in BibTeX

2005-09-26 Thread Taco Hoekwater
as well, it may even be a good idea to make your own style if this one is not OK for you. of this. I thought there would not be much point in adding lots of labeltexts, when the actual punctuation probably needs changes as well. Also, I am a tad concerned about adding too many configuration

RE: [NTG-context] New context version

2005-08-28 Thread Rob Ermers
... \defaultlanguage ...\??la #1\c!default \endcsname \fi \dogetupsometextprefix #1#2#3-\ifcsname #2#1 #3\endcsname \csname #2#1#3\end... \labeltexts #1#2-\leftlabeltext {#1} #2

RE: [NTG-context] New context version

2005-08-28 Thread Rob Ermers
\c!default \endcsname \empty ... \defaultlanguage ...\??la #1\c!default \endcsname \fi \dogetupsometextprefix #1#2#3-\ifcsname #2#1 #3\endcsname \csname #2#1#3\end... \labeltexts #1#2

Re: [NTG-context] Sorting index (in Spanish)

2005-08-08 Thread Hans Hagen
Hans Hagen wrote: Mari Voipio wrote: Dear Fellow-Contexters, I have been charged with editing a ConTeXt document in Spanish (of which I understand preciously little). This far I have gotten over the hurdles of hyphenation, labeltexts and the upside-down exclamation mark (and as far as we

[NTG-context] Sorting index (in Spanish)

2005-08-05 Thread Mari Voipio
Dear Fellow-Contexters, I have been charged with editing a ConTeXt document in Spanish (of which I understand preciously little). This far I have gotten over the hurdles of hyphenation, labeltexts and the upside-down exclamation mark (and as far as we can tell, the Spanish hyphenation

Re: [NTG-context] Sorting index (in Spanish)

2005-08-05 Thread Hans Hagen
Mari Voipio wrote: Dear Fellow-Contexters, I have been charged with editing a ConTeXt document in Spanish (of which I understand preciously little). This far I have gotten over the hurdles of hyphenation, labeltexts and the upside-down exclamation mark (and as far as we can tell

[NTG-context] Problem with \seeindex

2004-06-21 Thread Bernd Militzer
\char \normalchar #2} argument Bu\dobuildtextaccent \char 2 0 sina, Leopold \labeltexts #1#2-\leftlabeltext {#1}#2 \rightlabeltext {#1} \doregisterpagehowto ...d #1\c

[NTG-context] \seeindex problem

2004-06-15 Thread Bernd Militzer
0 sina, Leopold \labeltexts #1#2-\leftlabeltext {#1}#2 \rightlabeltext {#1} \doregisterpagehowto ...d #1\c!paginacommando }{#2 }\dostopattributes \limitatetext ...it \empty